package com.cyl.manager.pms.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.sincere.common.annotation.Excel;

import java.math.BigDecimal;

@Data
@ApiModel(value = "SKU响应对象")
public class SkuResp {
    @ApiModelProperty("SKU ID")
    @Excel(name = "SKU ID")
    private Long id;
    
    @ApiModelProperty("商品ID")
    @Excel(name = "商品ID")
    private Long productId;
    
    @ApiModelProperty("sku编码")
    @Excel(name = "sku编码")
    private String outSkuId;
    
    @ApiModelProperty("价格")
    @Excel(name = "价格")
    private BigDecimal price;
    
    @ApiModelProperty("库存")
    @Excel(name = "库存")
    private Integer stock;

    @ApiModelProperty("展示图片")
    @Excel(name = "展示图片")
    private String pic;

    @ApiModelProperty("商品销售属性，json格式")
    @Excel(name = "商品销售属性，json格式")
    private String spData;

    @ApiModelProperty("创建时间")
    @Excel(name = "创建时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private String createTime;
    
    @ApiModelProperty("更新时间")
    @Excel(name = "更新时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private String updateTime;
    
    @ApiModelProperty("创建者")
    private Long createBy;
    
    @ApiModelProperty("更新者")
    private Long updateBy;
    
    @ApiModelProperty("是否删除")
    private Boolean deleted;
} 